﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace ImageManager.Service.Model.ResponseModel
{
    public class GiteeCreateResponseModel
    {
        public Content content { get; set; }
        public Commit commit { get; set; }
    }

    public class Content
    {
        public string name { get; set; }
        public string path { get; set; }
        public int size { get; set; }
        public string sha { get; set; }
        public string type { get; set; }
        public string url { get; set; }
        public string html_url { get; set; }
        public string download_url { get; set; }
        public _Links _links { get; set; }
    }

    public class _Links
    {
        public string self { get; set; }
        public string html { get; set; }
    }

    public class Commit
    {
        public string sha { get; set; }
        public Author author { get; set; }
        public Committer committer { get; set; }
        public string message { get; set; }
        public Tree tree { get; set; }
        public Parent[] parents { get; set; }
    }

    public class Author
    {
        public string name { get; set; }
        public DateTime date { get; set; }
        public string email { get; set; }
    }

    public class Committer
    {
        public string name { get; set; }
        public DateTime date { get; set; }
        public string email { get; set; }
    }

    public class Tree
    {
        public string sha { get; set; }
        public string url { get; set; }
    }

    public class Parent
    {
        public string sha { get; set; }
        public string url { get; set; }
    }

}
